package com.example.game.sdk.framework.plugin.channel

import com.example.game.sdk.framework.GameApiCallback
import com.example.game.sdk.framework.plugin.PluginTemplate
import org.json.JSONObject

/**
 * 渠道插件模板
 */
abstract class ChannelTemplate : PluginTemplate() {

    abstract fun login(callback: GameApiCallback)

    abstract fun logout(callback: GameApiCallback)

    /**
     *  支付
     *  @param params 支付参数
     */
    abstract fun pay(params: JSONObject,callback: GameApiCallback)
}